package com.gali.springcloud.dao;

import com.gali.springcloud.entity.Dept;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Auther: gali
 * @Date: 2022/7/9 - 07 - 09 - 18:40
 * @Description:
 * @version: 1.0
 */
@Mapper
public interface DeptDao
{
    public boolean addDept(Dept dept);

    public Dept findById(Long id);

    public List<Dept> findAll();
}

